﻿using System.Data;
using System.Data.SqlClient;

namespace Mg.ExpressionParser.DbSqlParser
{
    public class SQLServerSqlParser : IDbSqlParser
    {
        public string DbParamPrefix
        {
            get
            {
                return "@";
            }
        }

        public IDbDataParameter GetDataParameter(string prefix, object val)
        {
            return new SqlParameter(prefix, val);
        }
    }
}
